<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>思途CMS{$coreVersion}</title>
    {template 'stourtravel/public/public_min_js'}
    {php echo Common::getCss('base.css,style.css,destination_dialog_basicinfo.css'); }
</head>
<body>
<div class="s-main">
    <div class="main-body">
        <div class="nav-list">
            <div class="item-one" id="item_template">
                <table>
                    <tr>
                        <td><label class="radio-label">显   示 : </label></td>
                        <td>
                            <label class="radio-label ml-20"><input type="radio" name="isopen"  value="1">开启</label>
                            <label class="radio-label ml-20"><input type="radio" name="isopen"  value="0" checked>关闭</label>
                        </td>
                    </tr>
                    {if $typeid!=101}
                    <tr>
                        <td><label class="radio-label">栏目首页 : </label></td>
                        <td>
                            <label class="radio-label ml-20"><input type="radio" name="isnav"  value="1">开启</label>
                            <label class="radio-label ml-20"><input type="radio" name="isnav"  value="0" checked>关闭</label>
                        </td>
                    </tr>
                    <tr>
                        <td><label class="radio-label">栏目热门 : </label></td>
                        <td>
                            <label class="radio-label ml-20"><input type="radio" name="ishot" value="1">开启</label>
                            <label class="radio-label ml-20"><input type="radio" name="ishot" value="0" checked>关闭</label>
                        </td>
                    </tr>
                    {/if}
                    <tr>
                        <td></td>
                        <td><label class="radio-label ml-20"> <a class="normal-btn" id="btn_save" href="javascript:;">保存</a> </label></td>
                    </tr>
                </table>

            </div>

        </div>
    </div>
</div>
</body>
<script>
    $(document).on('click',"#btn_save",function(){
        let obj = {} ;
        obj.isopen = $("input[name='isopen']:checked").val();
        obj.isnav  = $("input[name='isnav']:checked").val();
        obj.ishot  = $("input[name='ishot']:checked").val();
        ST.Util.responseDialog(obj,true);
    });

</script>
</html>
